/**
 * "Visual Paradigm: DO NOT MODIFY THIS FILE!"
 * 
 * This is an automatic generated file. It will be regenerated every time 
 * you generate persistence class.
 * 
 * Modifying its content may cause the program not work, or your work may lost.
 */

/**
 * Licensee: DuKe TeAm
 * License Type: Purchased
 */
package orm;

import java.util.List;
import org.hibernate.criterion.DetachedCriteria;
import org.orm.PersistentSession;
import org.orm.criteria.*;

public class Tbv_bitacora_recaudacionDetachedCriteria extends AbstractORMDetachedCriteria {
	public final IntegerExpression br_id_bitacora_recaudacion;
	public final StringExpression br_hora_ingreso;
	public final StringExpression br_hora_salida;
	public final IntegerExpression br_nro_caja_monedas_in;
	public final IntegerExpression br_nro_caja_monedas_out;
	public final IntegerExpression br_nro_caja_billetes_in;
	public final IntegerExpression br_nro_caja_billetes_out;
	
	public Tbv_bitacora_recaudacionDetachedCriteria() {
		super(orm.Tbv_bitacora_recaudacion.class, orm.Tbv_bitacora_recaudacionCriteria.class);
		br_id_bitacora_recaudacion = new IntegerExpression("br_id_bitacora_recaudacion", this.getDetachedCriteria());
		br_hora_ingreso = new StringExpression("br_hora_ingreso", this.getDetachedCriteria());
		br_hora_salida = new StringExpression("br_hora_salida", this.getDetachedCriteria());
		br_nro_caja_monedas_in = new IntegerExpression("br_nro_caja_monedas_in", this.getDetachedCriteria());
		br_nro_caja_monedas_out = new IntegerExpression("br_nro_caja_monedas_out", this.getDetachedCriteria());
		br_nro_caja_billetes_in = new IntegerExpression("br_nro_caja_billetes_in", this.getDetachedCriteria());
		br_nro_caja_billetes_out = new IntegerExpression("br_nro_caja_billetes_out", this.getDetachedCriteria());
	}
	
	public Tbv_bitacora_recaudacionDetachedCriteria(DetachedCriteria aDetachedCriteria) {
		super(aDetachedCriteria, orm.Tbv_bitacora_recaudacionCriteria.class);
		br_id_bitacora_recaudacion = new IntegerExpression("br_id_bitacora_recaudacion", this.getDetachedCriteria());
		br_hora_ingreso = new StringExpression("br_hora_ingreso", this.getDetachedCriteria());
		br_hora_salida = new StringExpression("br_hora_salida", this.getDetachedCriteria());
		br_nro_caja_monedas_in = new IntegerExpression("br_nro_caja_monedas_in", this.getDetachedCriteria());
		br_nro_caja_monedas_out = new IntegerExpression("br_nro_caja_monedas_out", this.getDetachedCriteria());
		br_nro_caja_billetes_in = new IntegerExpression("br_nro_caja_billetes_in", this.getDetachedCriteria());
		br_nro_caja_billetes_out = new IntegerExpression("br_nro_caja_billetes_out", this.getDetachedCriteria());
	}
	
	public Tbv_bitacora_maquinaDetachedCriteria createTbv_bitacora_maquinabm_id_bitacora_maquinaCriteria() {
		return new Tbv_bitacora_maquinaDetachedCriteria(createCriteria("tbv_bitacora_maquinabm_id_bitacora_maquina"));
	}
	
	public Tbv_capturaDetachedCriteria createTbv_capturaCriteria() {
		return new Tbv_capturaDetachedCriteria(createCriteria("ORM_Tbv_captura"));
	}
	
	public Tbv_bitacora_recaudacion uniqueTbv_bitacora_recaudacion(PersistentSession session) {
		return (Tbv_bitacora_recaudacion) super.createExecutableCriteria(session).uniqueResult();
	}
	
	public Tbv_bitacora_recaudacion[] listTbv_bitacora_recaudacion(PersistentSession session) {
		List list = super.createExecutableCriteria(session).list();
		return (Tbv_bitacora_recaudacion[]) list.toArray(new Tbv_bitacora_recaudacion[list.size()]);
	}
}

